<div class="am-u-sm-12">
    <form class="am-form" id="list-form" action="${base}/apiLog/apiTimeRangeTable" method="post">
        <input type="hidden" id="keywords" name="keywords" value='${keywords!""}'/>
        <table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
            <tbody>
            <tr>
                <th class="am-text-middle">接口名称</th>
                <td>
                    <div class="am-u-sm-10">
                        <select data-am-selected="{btnSize:'sm',maxHeight: 200,btnWidth: 200,searchBox: 1}" id="api_option">
                            <!--<option value="-1">全部</option>-->
                            <%for(option in api_options){%>
                            <option value="${option.api}" <%if(option.api==api!""){%>
                            selected
                            <%}%>>${option.api}</option>
                            <%}%>
                        </select>
                    </div>
                </td>
                <th class="am-text-middle">时间区间</th>
                <td>
                  <div class="am-u-sm-10">
                    <div class="am-form am-form-inline">
                        <style>
                            .datetimepicker {
                                max-height: 400px;
                                overflow-y: auto;
                            }
                        </style>
                        <div class="am-input-group date form_datetime">
                                  <span class="am-input-group-label add-on"><i
                                      class="icon-th am-icon-calendar"></i></span> <input id="time_start" name="time_start" readonly
                                      size="16" type="text" value="${time_start!}"
                                      class="am-form-field" data-validation-message="" required /> <span
                                      class="am-input-group-label add-on"><i
                                      class="icon-remove am-icon-close"></i></span>
                              </div>
                        至
                        <div class="am-input-group date form_datetime">
                          <span class="am-input-group-label add-on"><i
                              class="icon-th am-icon-calendar"></i></span> <input id="time_end" name="time_end" readonly
                              size="16" type="text" value="${time_end!}"
                              class="am-form-field" data-validation-message="" required /> <span
                              class="am-input-group-label add-on"><i
                              class="icon-remove am-icon-close"></i></span>
                      </div>
                    </div>
                    <span class="am-text-nowrap am-text-danger am-l am-fl">*默认显示一分钟内的数据</span>
                  </div>
                </td>
            </tr>

            <tr>
                <td colspan="4">
                    <div align='right'>

                        <button type="button" class="am-btn am-btn-default am-btn-sm am-text-secondary" id="submit-btn"
                                onClick="submit_btn('search');">搜索
                        </button>
                        <!--<button type="button" class="am-btn am-btn-default am-btn-sm am-text-secondary" id="export-btn"
                                onClick="submit_btn('export');">导出
                        </button>-->
                    </div>
                </td>
            </tr>
            </tbody>
        </table>
    </form>
</div>